<!-- 巡检计划 -->

<template>
  <EasyCard noScroll>
    <template #header>
      <MajorTitle title="巡检统计" />
    </template>

    <div class="flexCC flexCol full">
      <MyBar img="plan-all" title="巡检计划完成率" :percent="info.plan" />
      <MyBar img="plan-point" title="巡检点位完成率" :percent="info.point" />
    </div>
  </EasyCard>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'TopPlan',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store), CORE.mixLoop()],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('./', true, /vue$/)),
}
</script>
